package com.budwk.app.enterprise.models;

import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;

import java.io.Serializable;


/**
 * @desc: 企业安全专项
 * @Author: laochiangx
 * @Date: 2024/3/7 15:08
 * @info:
 */


@Data
@EqualsAndHashCode(callSuper = false)
@Table("dfxy_enterprise.zb_enterprise_security")
@Comment("企业安全专项")
@ApiModel(description = "企业安全专项")
public class EnterpriseSecurity extends BaseCommonModel implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column
    @Name
    @Comment("ID")
    @ApiModelProperty(description = "ID")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    @PrevInsert(els = {@EL("snowflake()")}, nullEffective = true)
    private String id;

    @Column("safety_production_manager")
    @Comment("安全生产负责人")
    @ApiModelProperty(description = "安全生产负责人")
    @ColDefine(type = ColType.VARCHAR, width = 100)
    private String safetyProductionManager;

    @Column("safety_in_production")
    @Comment("安全生产责任制度")
    @ApiModelProperty(description = "安全生产责任制度")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String safetyInProduction;

    @Column("operating_procedures")
    @Comment("安全生产规章制度和操作规程")
    @ApiModelProperty(description = "安全生产规章制度和操作规程")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String operatingProcedures;

    @Column("risk_assessment_report")
    @Comment("风险评估报告")
    @ApiModelProperty(description = "风险评估报告")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String riskAssessmentReport;

    @Column("hazard_investigation_records")
    @Comment("隐患排查记录")
    @ApiModelProperty(description = "隐患排查记录")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String hazardInvestigationRecords;

    @Column("hazard_rectification_record")
    @Comment("隐患整改记录")
    @ApiModelProperty(description = "隐患整改记录")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String hazardRectificationRecord;

    @Column("safety_training_records")
    @Comment("安全培训记录")
    @ApiModelProperty(description = "安全培训记录")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String safetyTrainingRecords;

    @Column("emergency_resource")
    @Comment("应急资源清单（包括应急物资和设备")
    @ApiModelProperty(description = "应急资源清单（包括应急物资和设备）")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String emergencyResource;

    @Column("fighting_facilities")
    @Comment("消防设施和器材清单")
    @ApiModelProperty(description = "消防设施和器材清单")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String fightingFacilities;

    @Column("fire_safety_management")
    @Comment("消防安全管理制度")
    @ApiModelProperty(description = "消防安全管理制度")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String fireSafetyManagement;

    @Column("fire_training_drill")
    @Comment("消防培训和演练记录")
    @ApiModelProperty(description = "消防培训和演练记录")
    @ColDefine(type = ColType.VARCHAR, width = 500)
    private String fireTrainingDrill;

    @Column("fire_safety_inspection")
    @Comment("消防安全检查记录")
    @ApiModelProperty(description = "消防安全检查记录")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String fireSafetyInspection;

    @Column("exercise_plan")
    @Comment("演练计划")
    @ApiModelProperty(description = "演练计划")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String exercisePlan;


    @Column("record_drill")
    @Comment("演练实施记录")
    @ApiModelProperty(description = "演练实施记录")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String recordDrill;

    @Column("exercise_evaluation")
    @Comment("演练评估报告")
    @ApiModelProperty(description = "演练评估报告\n")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String exerciseEvaluation;

    @Column("improvement_measures")
    @Comment("改进措施跟踪")
    @ApiModelProperty(description = "改进措施跟踪")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String improvementMeasures;

    @Column("the_time_accident")
    @Comment("事故发生的时间、地点")
    @ApiModelProperty(description = "事故发生的时间、地点")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String theTimeAccident;

    @Column("accident_severity")
    @Comment("事故类型和程度")
    @ApiModelProperty(description = "事故类型和程度")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String accidentSeverity;

    @Column("analysis_accident_causes")
    @Comment("事故原因分析")
    @ApiModelProperty(description = "事故原因分析")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String analysisAccidentCauses;

    @Column("handling_measures")
    @Comment("处理结果和改进措施")
    @ApiModelProperty(description = "处理结果和改进措施")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String handlingmeasures;

}
